!!! 1.1

%html
  %head
    - @page_title ||= "Rplan"
    %title= @page_title
    = stylesheet_link_tag 'default'
    = javascript_include_tag :defaults
    %meta{'http-equiv' => "Content-Type", 'content' => "application/xhtml+xml; charset=UTF-8" }/
  %body
    #head
      %ul
      - if logged_in?
        %li= "Welcome #{current_user.login}"
	%li= link_to("Logout", "/logout")
      - else
	%li= link_to("Login", "/login")
	%li= link_to("Signup", "/signup")
      %h3 Rplan
      - [:notice, :warning, :message, :error].each do |name|
        - if flash[name]
          %div{ :class => name }=flash[name]
    #nav
      %ul
        %li
          %a{:href => tickets_path} Tickets
        %li
          %a{:href => pages_path} Wiki


    #content=@content_for_layout
    #footer
      %hr{:width => 768, :color => '#cccccc'}/
      %center Copyright About
